package com.example.kotlin.bean

/**
 * Created by xiao_tan on 17/7/23.
 */
class WashMachine(var module: String, var size: Int) {

    fun openDoor(){
        println("洗衣机的门已经打开了")
    }

    fun closeDoor(){
        println("洗衣机的门已经关闭了")
    }

    fun startWash(){
        println("放水")
        println("水放满了")
        println("电机启动")
        println("洗好了")
    }
}